package com.nth.rooster.announcement.dao;

import org.apache.log4j.Logger;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.nth.rooster.announcement.beans.NotificationBean;

@Component
public class AnnouncementDAO implements AnnouncementDAOI {

	static Logger LOGGER = Logger.getLogger(AnnouncementDAO.class);
	
	@Autowired
	private SessionFactory sessionFactory;
	
	public void createNotification(NotificationBean notificationBean) {
		LOGGER.debug("Entered::Announcement::AnnouncementDAO::createNotification(NotificationBean notificationBean)");
		
		LOGGER.debug("Exited::Announcement::AnnouncementDAO::createNotification(NotificationBean notificationBean)");
	}

	public void getNotification(Long NotificationID) {
		LOGGER.debug("Entered::Announcement::AnnouncementDAO::getNotification(Long NotificationID)" + NotificationID);
		
		LOGGER.debug("Exited::Announcement::AnnouncementDAO::getNotification(Long NotificationID)" + NotificationID);
	}

	public void getNotificationList(Long userID) {
		LOGGER.debug("Entered::Announcement::AnnouncementDAO::getNotificationList(Long userID)" + userID);
		
		LOGGER.debug("Exited::Announcement::AnnouncementDAO::getNotificationList(Long userID)" + userID);
	}

	public SessionFactory getSessionFactory() {
		return sessionFactory;
	}

	public void setSessionFactory(SessionFactory sessionFactory) {
		this.sessionFactory = sessionFactory;
	}

}
